package com.ling.luo.trade.mapper;

import com.ling.luo.trade.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author luohoujian
 * @since 2021-05-09
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

  	/**
	 * 分页查询
	 * @param page
	 * @param query
	 * @return
	 */
	IPage<User> pageList(Page<User> page, @Param("query") User query);
}
